Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Microchip Technology/ATSAME51J19A/SERCOM0/SPIM/INTFLAG#0x0
SPIM Interrupt Flag Status and Clear
Data Register Empty Interrupt
Transmit Complete Interrupt
Receive Complete Interrupt
Slave Select Low Interrupt Flag
Combined Error Interrupt
https://github.com/cmsis-svd/cmsis-svd-data